// 权限问题后期增加
import { get, post } from '/@/utils/http/axios'
import { BannerState } from '/@/store/modules/homePage/types'

enum URL {
  bestqa = '/api/student/question/gem/', // 精华答疑
  hotqa = '/api/student/question/hot/', // 热门答疑
  askqa = '/api/student/question/ask/', //提问
  myqa =  '/api/student/question/my/', // 我的提问
}
/// 课程列表
const bestqa = async (data) => post<any>({url :URL.bestqa, data});
const hotqa =  async (data) => post<any>({url :URL.hotqa, data});
const askqa = async (data) => post<any>({url :URL.askqa, data});
const myqa = async (data) => post<any>({url :URL.myqa, data});

export { bestqa, hotqa, askqa, myqa }